CURDIR$ Function ---------------------------------------------------------------------------- Action Returns the path currently in use for the specified drive. Syntax CURDIR$-( drive$)- Remarks The argument drive$ is a string expression that specifies a drive. The argument drive$ must be in the range A to lastdrive, where lastdrive is the maximum drive letter you set in your CONFIG.SYS file. If no drive is specified or if drive$ is a null string, CURDIR$ returns the path for the currently selected drive. This is similar to using the CHDIR command at the system prompt without specifying a path. BASIC generates an error if the first character in drive$ lies outside the range A to lastdrive, unless you are working in a networked environment. BASIC also generates an error if the first character in drive$ corresponds to a drive that does not exist, or if the first character of drive$ is not a letter. CURDIR$ is not case sensitive. "C" is the same as "c." See Also CHDIR, CHDRIVE, DIR$ Example See the example for the CHDRIVE statement, which uses the CURDIR$ function.